package com.mlnx.work.service.iml;

import com.mlnx.work.dao.mysql.TaskMemberMapper;
import com.mlnx.work.entity.TaskMember;
import com.mlnx.work.service.TaskMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * author name: amanda.shan
 * create time: 2020-12-28 16:58:01
 */
@Service
public class TaskMemberServiceIml extends BaseService<TaskMemberMapper, TaskMember> implements TaskMemberService {

    @Autowired
    @Override
    public void setBaseMapper(TaskMemberMapper baseMapper) {
        super.setBaseMapper(baseMapper);
    }

    @Override
    public void saveBatch(Integer taskId, Integer[] memberIds) {
        baseMapper.insertBatch(taskId, memberIds);
    }
}

